﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Productions
{
    public  interface IProWorkhoursTypeServices
    {
        public Task<IEnumerable<ProWorkhoursType>> GetAllAsync();
        public Task<IEnumerable<ProWorkhoursType>> GetAsync(int PageIndex, int PageSize, string WorkhoursType);
        public Task<int> GetCountAsync(string WorkhoursType);
        public Task<bool> UpdateAsync(ProWorkhoursType model);
        public Task<bool> AddAsync(ProWorkhoursType model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);
        
    }
}
